/*function getStudentList(){
alert("hello=="+document.getElementById("c").value);
	var c = document.getElementById("c").value;
	var s = document.getElementById("s").value;
	var m = document.getElementById("m").value;
	var xmlhttp;
	alert("inside====");
	if (window.XMLHttpRequest) {
		xmlhttp = new XMLHttpRequest();
		}
		else {
		xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
		}
		var searchUrl = "action.admin?cmd=getStudentList";

		searchUrl += "&"+ "c" + "=" + c;
		searchUrl += "&"+ "s" + "=" + s;
		searchUrl += "&"+ "m" + "=" + m;
		alert(searchUrl);
		xmlhttp.open("GET", encodeURI(searchUrl), true);

		xmlhttp.onreadystatechange  = function()
		{ 
			if(xmlhttp.readyState  == 4 && xmlhttp.status == 200)
			{
				
				eval(xmlhttp.responseText);
				alert("length=="+jsonObject.distributers.length);
				if (jsonObject.distributers.length == 0) {
					renderNoResultsJSON1();
				}
				else {
					renderSearchResultJSON1(jsonObject);
				}
			}
	}; 
	xmlhttp.send("");
}
function renderNoResultsJSON1() {
	alert("no data");
}
function renderSearchResultJSON1(jsonObject) {
	var htmlString = "<table>";
	htmlString += "<tr>";
	htmlString += "<th>Roll No.</th>";
	htmlString += "<th>Student Name</th>";
	htmlString += "<th>Mark Attendance</th>";
	htmlString += "</tr>";
	
	for (var i = 0; i < jsonObject.distributers.length; i++) {
		htmlString += "<tr>";
		htmlString += "<td>" + jsonObject.distributers[i].address + "</td>";
		htmlString += "<td>" + jsonObject.distributers[i].contactNo + "</td>";
		htmlString += "<td>"+"<input type="+"\"checkBox\""+ "/>"+"</td>";
		htmlString += "</tr>"; 
	}
	htmlString += "</table>";
	alert(htmlString);
	document.getElementById("SResutl").innerHTML = htmlString;
};*/